package request

type LoginReq struct {
	Tel      string `form:"tel" binding:"required"`      // 手机号
	Password string `form:"password" binding:"required"` // 密码
}

type AddArticleReq struct {
	Context     string `form:"context" binding:"required"`      // 动态内容
	ArticleType int    `form:"article_type" binding:"required"` // 动态类型：1-文本，2-图片，3-视频
	LikeNum     int    `form:"like_num" binding:"required"`     // 点赞数量
}

type FocusReq struct {
	FocusId int `form:"focus_id" binding:"required"` // 关注id
}

type AddRoomReq struct {
	RoomId int `form:"room_id" binding:"required"` // 群id
}

type AddRoomUserReq struct {
	RoomId int `form:"room_id" binding:"required"` // 群id
	ULevel int `form:"u_level" binding:"required"` // 群成员：1-群主，2-群管理员，3-群成员
}

type UpdateLevelReq struct {
	RoomId int `form:"room_id" binding:"required"` // 群id
	ULevel int `form:"u_level" binding:"required"` // 群成员：1-群主，2-群管理员，3-群成员
}
